extends Node

#Model to View
#var mList=[] #为了防止model不被回收系统清理

var M2VDict={}
func getM2V(model):
	return M2VDict[model]
func addM2V(model,view):
	M2VDict[model]=view
	#mList.append(model)
func hasM2V(model):
	return M2VDict.has(model)
func removeM2V(model):
	if M2VDict.has(model):
		M2VDict.erase(model)
		#mList.erase(model)
